<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>设计和方案</title>
</head>

<body>
<!--容器-->
<div>
    <div class="DetailsRtTop clearfix" id="lc_img_left">

        <#if "${lcdto.finishStatus}" ==3 >
            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt="" class="fl">
        <#elseif "${lcdto.finishStatus}" ==2 >
            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt="" class="fl">
        <#elseif "${lcdto.finishStatus}" ==1 >
            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt="" class="fl">
        <#elseif "${lcdto.finishStatus}" ==0 >
            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt="" class="fl">
        </#if>
        <span class="ft18 bold fl ml10">计划和方案</span>
    </div>
    <div class="downModule whitebg">
        <ul class="mb30">
            <li class="clearfix">
                <div class="clearfix" id="div_fb_017">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("13")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("12")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("11")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("10")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt=""
                                 class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="017">进度计划</span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name="file:finish">
                            <#if "${finish_status_017}"==true>
                                <button class="fl bluebg white fl ml20 btn_finish" lay-fs="12"   onclick="_prom_page.events.finish(this)">完成</button>
                            <#else>
                                <button class="fl bluebg white fl ml20 btn_finish layui-btn-disabled" lay-fs="12"  disabled="false"  onclick="_prom_page.events.finish(this)">完成</button>
                            </#if>
                        </@shiro.hasPermission>
                    </div>
                </div>
                <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief"
                     style=" padding-left: 0px; padding-right: 0px;">
                    <ul class="layui-tab-title">
                        <#list listsqs_fb as vo>
                            <#if  "${u_index}"==0 >
                                <li class="layui-this" value="${vo.id}" lay-index="${vo_index}">分包编号：${vo.code}</li>
                            <#else>
                                <li value="${vo.id}" lay-index="${vo_index}">分包编号：${vo.code}</li>
                            </#if>
                        </#list>
                    </ul>
                    <div class="layui-tab-content" style="padding: 0px;">
                        <#list listsqs_fb as vo>
                            <div class="layui-tab-item">
                                <div class="clearfix" style="background: #F8F9FD">
                                    <div class="downModuleBtn clearfix fr" style="margin-right: 80px">
                                        <@shiro.hasPermission name ="file:uploadCj">
                                            <label>
                                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt=""
                                                     class="fl" lay-data="{type: '017',value:'11',lx:'1'}">
                                                <button type="button" style="display: none;"
                                                        lay-data="{type: '017',value:'11',lx:'1'}"
                                                        bt-data="['c','d','cf3','addspjl']"
                                                        class="img-upload whitebutton ft12 blue">点击上传
                                                </button>
                                            </label>
                                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt=""
                                                 class="fl"
                                                 onclick="_prom_page.events.clickDelete(this)">
                                        </@shiro.hasPermission>
                                        <@shiro.lacksPermission name="file:uploadCj">
                                            <label style="display: none">
                                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt=""
                                                     class="fl" lay-data="{type: '017',value:'11',lx:'1'}">
                                                <button type="button" style="display: none;"
                                                        lay-data="{type: '017',value:'11',lx:'1'}"
                                                        bt-data="['c','d','cf3','addspjl']"
                                                        class="img-upload whitebutton ft12 blue">点击上传
                                                </button>
                                            </label>
                                        </@shiro.lacksPermission>
                                    </div>
                                </div>
                                <ul id="jl_lxbox" class="clearfix" style="border: 1px solid #EEEEEE;">
                                </ul>
                            </div>
                        </#list>
                    </div>
                </div>
            </li>
            <li class="clearfix">
                <div class="clearfix" id="div_fb_018">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("23")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("22")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("21")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("20")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt=""
                                 class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="018">实施方案</span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name="file:finish">
                            <#if "${finish_status_018}"==true>
                                <button class="fl bluebg white fl ml20 btn_finish" lay-fs="22"   onclick="_prom_page.events.finish(this)">完成</button>
                            <#else>
                                <button class="fl bluebg white fl ml20 btn_finish layui-btn-disabled" lay-fs="22"  disabled="false"  onclick="_prom_page.events.finish(this)">完成</button>
                            </#if>
                        </@shiro.hasPermission>
                    </div>
                </div>
                <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief"
                     style=" padding-left: 0px; padding-right: 0px;">
                    <ul class="layui-tab-title">
                        <#list listsqs_fb as vo>
                            <#if  "${u_index}"==0 >
                                <li class="layui-this" value="${vo.id}" lay-index="${vo_index}">分包编号：${vo.code}</li>
                            <#else>
                                <li value="${vo.id}" lay-index="${vo_index}">分包编号：${vo.code}</li>
                            </#if>
                        </#list>
                    </ul>
                    <div class="layui-tab-content" style="padding: 0px;">
                        <#list listsqs_fb as vo>
                            <div class="layui-tab-item">
                                <div class="clearfix" style="background: #F8F9FD">
                                    <div class="downModuleBtn clearfix fr" style="margin-right: 80px">
                                        <@shiro.hasPermission name ="file:uploadCj">
                                            <label>
                                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt=""
                                                     class="fl " lay-data="{type: '018',value:'21',lx:'1'}">
                                                <button type="button" style="display: none;"
                                                        lay-data="{type: '018',value:'21',lx:'1'}"
                                                        bt-data="['c','d','cf3','addspjl']"
                                                        class="img-upload whitebjhutton ft12 blue">
                                                    点击上传
                                                </button>
                                            </label>
                                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt=""
                                                 class="fl"
                                                 onclick="_prom_page.events.clickDelete(this)">
                                        </@shiro.hasPermission>
                                        <@shiro.lacksPermission name="file:uploadCj">
                                            <label style="display: none">
                                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt=""
                                                     class="fl " lay-data="{type: '018',value:'21',lx:'1'}">
                                                <button type="button" style="display: none;"
                                                        lay-data="{type: '018',value:'21',lx:'1'}"
                                                        bt-data="['c','d','cf3','addspjl']"
                                                        class="img-upload whitebjhutton ft12 blue">
                                                    点击上传
                                                </button>
                                            </label>
                                        </@shiro.lacksPermission>
                                    </div>
                                </div>
                                <ul id="jl_lxbox" class="clearfix" style="border: 1px solid #EEEEEE;">
                                </ul>
                            </div>
                        </#list>
                    </div>
                </div>
            </li>
            <#if  "${isshow}"=='1' >
                <li class="clearfix">
                    <div class="clearfix" id="div_fb_019">
                        <div class="downModuleTip clearfix fl">
                            <#if "${lcdto.stepNum}"?contains("33")>
                                <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt=""
                                     class="fl">
                            <#elseif  "${lcdto.stepNum}"?contains("32")>
                                <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt=""
                                     class="fl">
                            <#elseif  "${lcdto.stepNum}"?contains("31")>
                                <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt=""
                                     class="fl">
                            <#elseif  "${lcdto.stepNum}"?contains("30")>
                                <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt=""
                                     class="fl">
                            </#if>
                            <span class="fl ml10 mt10 milefile" data-filetype="019">实施图纸</span>
                        </div>
                        <div class="downModuleBtn clearfix fr">
                            <@shiro.hasPermission name="file:finish">
                                <button class="fl bluebg white fl ml20 btn_finish" lay-fs="32" onclick="_prom_page.events.finish(this)">完成</button>
                            </@shiro.hasPermission>
                        </div>
                    </div>
                    <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief"
                         style=" padding-left: 0px; padding-right: 0px;">
                        <ul class="layui-tab-title">
                            <#list listsqs_fb as vo>
                                <#if  "${u_index}"==0 >
                                    <li class="layui-this" value="${vo.id}" lay-index="${vo_index}">分包编号：${vo.code}</li>
                                <#else>
                                    <li value="${vo.id}" lay-index="${vo_index}">分包编号：${vo.code}</li>
                                </#if>
                            </#list>
                        </ul>
                        <div class="layui-tab-content" style="padding: 0px;">
                            <#list listsqs_fb as vo>
                                <div class="layui-tab-item">
                                    <div class="clearfix" style="background: #F8F9FD">
                                        <div class="downModuleBtn clearfix fr" style="margin-right: 80px">
                                            <@shiro.hasPermission name ="file:uploadCj">
                                                <label>
                                                    <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt=""
                                                         class="fl " lay-data="{type: '019',value:'31',lx:'1'}">
                                                    <button type="button" style="display: none;"
                                                            lay-data="{type: '019',value:'31',lx:'1'}"
                                                            class="img-upload whitebutton ft12 blue">点击上传
                                                    </button>
                                                </label>
                                                <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt=""
                                                     class="fl"
                                                     onclick="_prom_page.events.clickDelete(this)">
                                            </@shiro.hasPermission>
                                            <@shiro.lacksPermission name="file:uploadCj">
                                                <label style="display: none">
                                                    <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt=""
                                                         class="fl " lay-data="{type: '019',value:'31',lx:'1'}">
                                                    <button type="button" style="display: none;"
                                                            lay-data="{type: '019',value:'31',lx:'1'}"
                                                            class="img-upload whitebutton ft12 blue">点击上传
                                                    </button>
                                                </label>
                                            </@shiro.lacksPermission>
                                        </div>
                                    </div>
                                    <ul id="jl_lxbox" class="clearfix" style="border: 1px solid #EEEEEE;">
                                    </ul>
                                </div>
                            </#list>
                        </div>
                    </div>
                </li>
            </#if>
            <li class="clearfix">
                <div class="clearfix" id="div_fb_020">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("43")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("42")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("41")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("40")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt=""
                                 class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="020">实施方案专家评审意见（可选） </span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name="file:finish">
                            <button class="fl bluebg white fl ml20 btn_finish" lay-fs="42" onclick="_prom_page.events.finish(this)">完成</button>
                        </@shiro.hasPermission>
                    </div>
                </div>
                <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief"
                     style=" padding-left: 0px; padding-right: 0px;">
                    <ul class="layui-tab-title">
                        <#list listsqs_fb as vo>
                            <#if  "${u_index}"==0 >
                                <li class="layui-this" value="${vo.id}" lay-index="${vo_index}">分包编号：${vo.code}</li>
                            <#else>
                                <li value="${vo.id}" lay-index="${vo_index}">分包编号：${vo.code}</li>
                            </#if>
                        </#list>
                    </ul>
                    <div class="layui-tab-content" style="padding: 0px;">
                        <#list listsqs_fb as vo>
                            <div class="layui-tab-item">
                                <div class="clearfix" style="background: #F8F9FD">
                                    <div class="downModuleBtn clearfix fr" style="margin-right: 80px">
                                        <@shiro.hasPermission name ="file:uploadCj">
                                            <label>
                                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt=""
                                                     class="fl " lay-data="{type: '020',value:'41',lx:'1'}">
                                                <button type="button" style="display: none;"
                                                        lay-data="{type: '020',value:'41',lx:'1'}"
                                                        class="img-upload whitebutton ft12 blue">点击上传
                                                </button>
                                            </label>
                                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt=""
                                                 class="fl"
                                                 onclick="_prom_page.events.clickDelete(this)">
                                        </@shiro.hasPermission>
                                        <@shiro.lacksPermission name="file:uploadCj">
                                            <label style="display: none">
                                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt=""
                                                     class="fl " lay-data="{type: '020',value:'41',lx:'1'}">
                                                <button type="button" style="display: none;"
                                                        lay-data="{type: '020',value:'41',lx:'1'}"
                                                        class="img-upload whitebutton ft12 blue">点击上传
                                                </button>
                                            </label>
                                        </@shiro.lacksPermission>
                                    </div>
                                </div>
                                <ul id="jl_lxbox" class="clearfix" style="border: 1px solid #EEEEEE;">
                                </ul>
                            </div>
                        </#list>
                    </div>
                </div>
            </li>
            <li class="clearfix">
                <div class="clearfix" id="div_fb_065">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("53")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("52")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("51")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("50")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt=""
                                 class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="065">评审会议纪要（可选） </span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name ="file:upload">
                            <label>
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '065',value:'51'}"
                                        bt-data="['c','d']"
                                        class="img-upload whitebutton ft12 blue">点击上传
                                </button>
                            </label>
                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt="" class="fl"
                                 onclick="_prom_page.events.clickDelete(this)">
                        </@shiro.hasPermission>
                        <@shiro.lacksPermission name="file:upload">
                            <label style="display: none">
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '065',value:'51'}"
                                        bt-data="['c','d']"
                                        class="img-upload whitebutton ft12 blue">点击上传
                                </button>
                            </label>
                        </@shiro.lacksPermission>
                        <@shiro.hasPermission name="file:finish">
                            <button class="fl bluebg white fl ml20 btn_finish" lay-fs="52" onclick="_prom_page.events.finish(this)">
                                完成
                            </button>
                        </@shiro.hasPermission>
                    </div>
                </div>
                <ul class="clearfix">
                    <#list listhyjy_file as vo>
                        <li class="clearfix">
                            <input type="checkbox" class="fl" value="${vo.id}" title="jlzb">
                            <span class="fl ml10">${vo.fileName}</span>
                            <@shiro.hasPermission name="file:export">
                                <button type="button" class="fr ml20 mt15 bgnone"
                                        onclick="_prom_page.events.exportFile(this)">导出
                                </button>
                            </@shiro.hasPermission>
                            <@shiro.hasPermission name="file:view">
                                <button type="button" class="fr mt15 bgnone ml20 btn_vew">查看</button>
                            </@shiro.hasPermission>
                        </li>
                    </#list>
                </ul>
            </li>
            <li class="clearfix">
                <div class="clearfix" id="div_fb_021">
                    <div class="downModuleTip clearfix fl">
                        <#if "${lcdto.stepNum}"?contains("63")>
                            <img src="${re.contextPath}/plugin/common/images/14@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("62")>
                            <img src="${re.contextPath}/plugin/common/images/15@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("61")>
                            <img src="${re.contextPath}/plugin/common/images/16@2x.png" alt=""
                                 class="fl">
                        <#elseif  "${lcdto.stepNum}"?contains("60")>
                            <img src="${re.contextPath}/plugin/common/images/17@2x.png" alt=""
                                 class="fl">
                        </#if>
                        <span class="fl ml10 mt10 milefile" data-filetype="021">监理审核报告</span>
                    </div>
                    <div class="downModuleBtn clearfix fr">
                        <@shiro.hasPermission name ="file:upload">
                            <label>
                                <img src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '021',value:'61'}"
                                        bt-data="['c','d','g']"
                                        class="img-upload whitebutton ft12 blue">点击上传
                                </button>
                            </label>
                            <img src="${re.contextPath}/plugin/common/images/57@2x.png" alt="" class="fl "
                                 onclick="_prom_page.events.addForm(this)">
                            <img src="${re.contextPath}/plugin/common/images/19@2x.png" alt="" class="fl"
                                 onclick="_prom_page.events.clickDelete(this)">
                        </@shiro.hasPermission>
                        <@shiro.lacksPermission name="file:upload">
                            <label style="display: none">
                                <img style="display: none;" src="${re.contextPath}/plugin/common/images/18@2x.png" alt="" class="fl ">
                                <button type="button" style="display: none;" lay-data="{type: '021',value:'61'}"
                                        bt-data="['c','d','g']"
                                        class="img-upload whitebutton ft12 blue">点击上传
                                </button>
                            </label>
                        </@shiro.lacksPermission>
                        <@shiro.hasPermission name="file:finish">
                            <button class="fl bluebg white fl ml20 btn_finish" lay-fs="62" onclick="_prom_page.events.finish(this)">
                                完成
                            </button>
                        </@shiro.hasPermission>
                    </div>
                </div>
                <ul class="clearfix">
                    <#list listshbg_file as vo>
                        <li class="clearfix">
                            <input type="checkbox" class="fl" value="${vo.id}" title="jlzb">
                            <span class="fl ml10">${vo.fileName}</span>
                            <@shiro.hasPermission name="file:stamp">
                                <button type="button" class="fr ml20 mt15 bgnone  btn_gz">盖章</button>
                            </@shiro.hasPermission>
                            <@shiro.hasPermission name="file:export">
                                <button type="button" class="fr ml20 mt15 bgnone" onclick="_prom_page.events.exportFile(this)">导出</button>
                            </@shiro.hasPermission>
                            <@shiro.hasPermission name="file:view">
                                <button type="button" class="fr mt15 bgnone ml20  btn_vew">查看</button>
                            </@shiro.hasPermission>
                        </li>
                    </#list>
                </ul>
            </li>
        </ul>
    </div>
</div>
<script type="text/javascript" src="${re.contextPath}/plugin/system/supervisor/projectManager.js"></script>
<script type="text/javascript" src="${re.contextPath}/plugin/system/supervisor/guide.js"></script>
<script>
    $(function () {
        var jsondata = {
            "id": '${pdto.id}',
            "spmId": '${pdto.spmId}',
            "stageId": '${stagedto.id}',
        }
        if( "${isshow}"=='1'){
            _prom_page._init(6, jsondata);
        }else{
            _prom_page._init(5, jsondata);
        }

        var haveGuide = '${haveGuide}';guide._initMileFileGuide($(".milefile"));
        if (haveGuide) {
            var badtNo = '${badtNo}';
            guide._initBtn(haveGuide, badtNo);
        }
        // layui-tab-title 自动触发点击事件
        for (var i = 0; i < 6; i++) {
            $('.layui-tab-title:eq(' + i + ') li:eq(0)').click();
        }
        _prom_page.events.butKzInit();
    });
</script>
</body>

</html>
